﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace VRacer
{
    /// <summary>
    /// Zawiera dane zdarzenia informujacego o wypadku zawodnika
    /// </summary>
    public class PlayerCrashedEventArgs : EventArgs
    {
        private Point _crashPoint;
        
        public PlayerCrashedEventArgs(Point crashPoint)
        {
            _crashPoint = crashPoint;
        }

        /// <summary>
        /// Wspolrzedne pixela na ktorym wystapilo zderzenie
        /// </summary>
        /// <value>The crash point.</value>
        public Point CrashPoint
        {
            get { return _crashPoint; }
        }
    }
}
